unit Class_Memb;

interface
uses
  System.Classes;

type
  NetEngineUrlAttribute = class(TCustomAttribute)
  private
    FFileName:string;
    FNetField:string;
  public
    constructor Create(const AFileName:string);overload;
    constructor Create(const AFileName,ANetField: string);overload;
  published
    property FileName :string  read FFileName write FFileName;
    property NetField :string  read FNetField write FNetField;
  end;

  url = NetEngineUrlAttribute;

  THttprMemb=class(TObject)
  public
    [url('/tmemb/selectdb','')]
    class function  SelectDB(Params:string):string;
    [url('/tmemb/selectdb','')]
    class function  InsertDB(Params:string):string;
    [url('/tmemb/selectdb','')]
    class function  UpdateDB(Params:string):string;
    [url('/tmemb/selectdb','')]
    class function  DeleteDB(Params:string):string;
  end;

implementation

{ THttprMemb }

class function THttprMemb.DeleteDB(Params: string): string;
begin

end;

class function THttprMemb.InsertDB(Params: string): string;
begin

end;

class function THttprMemb.SelectDB(Params: string): string;
begin

end;

class function THttprMemb.UpdateDB(Params: string): string;
begin

end;

{ KzFieldAttribute }

constructor NetEngineUrlAttribute.Create(const AFileName, ANetField: string);
begin
  FileName:=AFileName;
  NetField:=ANetField;
end;

constructor NetEngineUrlAttribute.Create(const AFileName:string);
begin
  FileName:=AFileName;
end;

end.
